
export const aaaRoute = [
  {
    path: '/',
    component: () => import('@/layout/index.vue'),
    name: 'layout',
    meta: {
      title: '',
      hidden: false,
      icon: ''
    },
    redirect: '/home',
    children: [
      {
        path: '/home',
        component: () => import('@/views/home/index.vue'),
        meta: {
          title: '首页',
          hidden: false,
          icon: 'House'
        }
      }
    ]
  },
  {
    path: '/produce',
    component: () => import('@/layout/index.vue'),
    name: 'produce',
    meta: {
      title: '生产模块',
      icon: 'Aim',
      hidden: false,
    },
    redirect: '/produce/bom',
    children: [
      {
        path: '/produce/bom',
        component: () => import('@/views/produce/bom/index.vue'),
        name: 'bom',
        meta: {
          title: 'BOM',
          hidden: false,
          icon: 'Connection'
        }
      },
      {
        path: '/produce/mes',
        component: () => import('@/views/produce/mes/index.vue'),
        name: 'mes',
        meta: {
          title: 'MES',
          hidden: false,
          icon: 'Crop'
        }
      },
      {
        path: '/produce/wip',
        component: () => import('@/views/produce/wip/index.vue'),
        name: 'wip',
        meta: {
          title: 'WIP',
          hidden: false,
          icon: 'PriceTag'
        }
      }
    ]
  },
  {
    path: '/finance',
    component: () => import('@/layout/index.vue'),
    name: 'finance',
    redirect: '/finance/bx',
    meta: {
      title: '财务模块',
      icon: 'Goods',
      hidden: false
    },
    children: [
      {
        path: '/finance/bx',
        component: () => import('@/views/finance/bx/index.vue'),
        name: 'bx',
        meta: {
          title: 'bx',
          icon: 'ShoppingCartFull',
          hidden: false
        }
      },
      {
        path: '/finance/tz',
        component: () => import('@/views/finance/tz/index.vue'),
        name: 'tz',
        meta: {
          title: 'TZ',
          icon: 'ChromeFilled',
          hidden: false
        }
      },
      {
        path: '/finance/ws',
        component: () => import('@/views/finance/ws/index.vue'),
        name: 'ws',
        meta: {
          title: 'WS',
          icon: 'Calendar',
          hidden: false
        }
      }
    ]
  },
  {
    path: '/data',
    component: () => import('@/layout/index.vue'),
    name: 'data',
    redirect: '/data/datamanage',
    meta: {
      title: '数据模块',
      icon: 'Goods',
      hidden: false
    },
    children: [
      {
        path: '/sys/datamanage',
        component: () => import('@/views/sys/datamanage/index.vue'),
        name: 'sysdatamanage',
        meta: {
          title: 'data',
          icon: 'ShoppingCartFull',
          hidden: false
        }
      },
    ]
  },
]
